<!-- 修改 》 回路 -->

<template>
  <EasyRow col3>
    <FormTree :label="`所在${CORE.MAP.REGION}`" bind="areaId, areaName" :dict="CORE.REGION.DICT" allName required />
    <FormTree label="上级回路" bind="parentId, parentName, parentCode" :dict="elec_treeDict" disabled />
    <FormRadio label="是否进线" bind="loopInletWire" :dict="CORE.DICT.YES" />

    <FormInput label="去向额定电压" bind="ratedVoltage" />
    <FormInput label="去向额定电流" bind="ratedCurrent" />
    <FormInput label="去向额定功率" bind="ratedPower" />

    <FormSelect label="所属系统" bind="loopSystem" :dict="DICT.SYSTEM" />
    <FormInput label="所属配电柜" bind="loopPowerCabinet" />
    <FormRadio label="参与总量计算" bind="calculateToTotal" :dict="CORE.DICT.YES" />
  </EasyRow>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'EditCircuit',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb(), CORE.mixTree('elec', 'elec_')],
}
</script>
